projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6ef18a
)
gtkwindow: Use shadow border when calculating resize areas positions
author
Carlos Garnacho
<carlosg@gnome.org>
Sat, 9 Dec 2017 16:33:44 +0000
(17:33 +0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Sat, 9 Dec 2017 16:33:44 +0000
(17:33 +0100)
This way resize areas are correctly positioned right outside the visible
window edge on all sides.
gtk/gtkwindow.c
patch
|
blob
|
history
diff --git
a/gtk/gtkwindow.c
b/gtk/gtkwindow.c
index aba18df0121330d41f574e68d7a31a40d4f4bf2a..260e61bffb5d1ab4ba0e7a7076a55f6b1ba6163b 100644
(file)
--- a/
gtk/gtkwindow.c
+++ b/
gtk/gtkwindow.c
@@
-1732,7
+1732,7
@@
edge_under_coordinates (GtkWindow *window,
{
handle_h = MIN (RESIZE_HANDLE_SIZE, allocation.width / 2);
handle_v = MIN (RESIZE_HANDLE_SIZE, allocation.height / 2);
- g
tk_style_context_get_margin (context
, &border);
+ g
et_shadow_width (window
, &border);
}
else
{